package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.ConfirmGoodBeen;
import cn.xfdzx.android.apps.shop.bean.FoundGoodContentBeen;
import cn.xfdzx.android.apps.shop.bean.MarketBottomBeen;
import cn.xfdzx.android.apps.shop.contract.MarketBottomContract;
import cn.xfdzx.android.apps.shop.contract.RetailFoundGoodContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class MarketBottomModel implements MarketBottomContract.Model {



    @Override
    public Flowable<ConfirmGoodBeen> addCar(String is_new, String uniqueId, String productId, String cartNum) {
        return  RetrofitClient.getInstance().getApi().confirmGood(is_new,uniqueId,productId,cartNum);
    }
    @Override
    public Flowable<FoundGoodContentBeen> initContent(String index_category_id, String page, String limit) {
        return RetrofitClient.getInstance().getApi().foundGoodContent( index_category_id,page,limit);
    }






}
